const app=new Vue({
	el:"body>article",
	data:{
		params:{}
	},
	methods:{
		submit:function(){
			axios.post("http://127.0.0.1:8080/api/staff",this.params)
			.then(resp=>{
				if(resp.code==="ok"){
					toast("添加成功，请返回");
				}else{
					toast("失败了");
					toast(resp.message)
					console.log(resp)
				}
			});
		}
	}
	
});